package com.treasure.web.mapstruct;

import com.treasure.infrastructure.model.po.CorpAccessToken;
import com.treasure.web.command.response.CorpAccountTokenResponse;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author sunhongmin
 * @date 2023/11/11 11:34
 * @description
 */
@Mapper
public interface CorpAccountTokenInfoAssembler {
    CorpAccountTokenInfoAssembler INSTANCE = Mappers.getMapper(CorpAccountTokenInfoAssembler.class);

    CorpAccountTokenResponse convertToResponse(CorpAccessToken corpAccessToken);
}
